package com.java.demo7;

public class Animal {
    public int age = 40;
    //父类
    public void eat() {
        System.out.println("animal父类中的eat方法");

    }
}
